import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import './assets/themes.css';
import { t } from './locales/i18n';

const app = createApp(App);

// 将翻译函数注册为全局属性
app.config.globalProperties.$t = t;

// 使用路由
app.use(router);

app.mount('#app');